<div class="ui-wrap">
	<div class="ui-header">
		<div class="x-title"><i class="fa fa-2x fa-legal"></i><span class="title-text">资源目录管理</span></div>
	</div>
	<div class="ui-panel">
		<div class="x-toolbar">
			<div class="fl">
				<span class="x-btn-group">
					<button type="button" class="x-btn" ng-disabled="isChild()" ng-click="add();"><i class="fa fa-file-o"></i><span class="btn-text">新建</span></button>
					<button type="button" class="x-btn" ng-disabled="!hasSelected()" ng-click="edit()"><i class="fa fa-edit"></i><span class="btn-text">编辑</span></button>
					<button type="button" class="x-btn" ng-disabled="!hasSelectedRecords()" ng-click="remove()"><i class="fa fa-minus-circle"></i><span class="btn-text">删除</span></button>
				</span>
				<!-- <button type="button" class="x-btn" ng-disabled="!hasSelected()" ng-click="order()"><i class="fa fa-text-height"></i><span class="btn-text">排序</span></button> -->

				<button type="button" class="x-btn" ng-disabled="!hasSelected()" ng-click="fieldsManager()"><i class="fa fa-th-large"></i><span class="btn-text">指标管理</span></button>
				<button type="button" class="x-btn" ng-disabled="!hasSelected()" ng-click="rulesManager()"><i class="fa fa-flag"></i><span class="btn-text">目录规则</span></button>
				<button type="button" class="x-btn" ng-disabled="!hasSelectedRecords()" ng-click="expExcel()"><i class="fa fa-download"></i><span class="btn-text">生成样例</span></button>
			</div>
			<div class="fr x-query">
				<form name="form" novalidate="novalidate" ng-submit="query()">
					<input type="text" ng-model="q.cubeName" class="x-ipt" placeholder="请输入模型的名称" /><button type="submit" class="fa fa-search x-btn-query"></button>
				</form>
			</div>
		</div>
		<div class="ui-grid" grid-view="gridOptions" grid-selection grid-paging></div>
		<!-- <div class="x-grid-fixed" grid-view="gridOptions" grid-selection grid-paging></div> -->
	</div>
</div>